<!DOCTYPE html>

<html lang="en-US">
<@common.header/>

<body class="page-sub-page page-profile page-account" id="page-top">
<!-- Wrapper -->
<div class="wrapper">
    <!-- Navigation -->
    <@common.nav/><!-- /.navigation -->
    <!-- end Navigation -->
    <!-- Page Content -->
    <div id="page-content">
        <!-- Breadcrumb -->
        <div class="container">
            <ol class="breadcrumb">
                <li><a href="#">主页</a></li>
                <li class="active">个人中心</li>
            </ol>
        </div>
        <!-- end Breadcrumb -->

        <div class="container">
            <div class="row">
                <!-- sidebar -->
                <div class="col-md-3 col-sm-3">
                    <section id="sidebar">

                        <aside style="margin-top: 20px;">
                            <ul class="sidebar-navigation" style="font-size: 16px;font-weight: 700">
                                <li ><a href="/accounts/profile"><i class="fa fa-user"></i><span>个人信息</span></a></li>
                                <li class="active"><a href="/accounts/reset"><i class="fa fa-user"></i><span>修改密码</span></a></li>
                                <li><a href="/house/ownlist"><i class="fa fa-home"></i><span>出售房产</span></a></li>
                                <li><a href="/house/bookmarked"><i class="fa fa-heart"></i><span>关注房产</span></a></li>
                                <li><a href="/house/bookmarked"><i class="fa fa-heart"></i><span>百科收藏</span></a></li>
                                <li><a href="/accounts/myReciveMsg"><i class="fa fa-comment"></i><span>我的消息</span></a></li>
                                <li><a href="/accounts/myleaveMsg"><i class="fa fa-comment"></i><span>我的留言</span></a></li>
                            </ul>
                        </aside>
                    </section><!-- /#sidebar -->
                </div><!-- /.col-md-3 -->
                <!-- end Sidebar -->
                <!-- My Properties -->
                <div class="col-md-9 col-sm-10">
                    <header><h1>重设密码</h1></header>
                    <div class="row">
                        <div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3">
                            <form role="form" id="form-create-account" method="post" action="/accounts/resetSubmit" >
                                <div class="form-group">
                                    <label for="form-create-account-password">旧密码:</label>
                                    <input type="password" name="oldPasswd" class="form-control" id="form-create-account-password" required>
                                </div>
                                <div class="form-group">
                                    <label for="form-create-account-password">新密码:</label>
                                    <input type="password" name="passwd" class="form-control" id="form-create-account-password" required>
                                </div>
                                <div class="form-group">
                                    <label for="form-create-account-confirm-password">确认密码:</label>
                                    <input type="password" name="confirmPasswd" class="form-control" id="form-create-account-confirm-password" required>
                                </div>
                                <div class="form-group clearfix">
                                    <button type="submit" class="btn pull-right btn-default" id="account-submit">确认</button>
                                </div><!-- /.form-group -->
                            </form>
                            <hr>

                        </div>
                    </div>
                </div><!-- /.col-md-9 -->
                <!-- end My Properties -->
            </div><!-- /.row -->
        </div><!-- /.container -->
    </div>
    <!-- end Page Content -->
    <!-- Page Footer -->
    <@common.footer/>
    <!-- end Page Footer -->
</div>

<@common.js/>
<!--[if gt IE 8]>
<script type="text/javascript" src="assets/js/ie.js"></script>
<![endif]-->
<script  type="text/javascript" >


    $(document).ready(function() {
        var errorMsg   = "${errorMsg!""}";
        var successMsg = "${successMsg!""}";
        if(errorMsg){
            errormsg("error",errorMsg);
        }
        if(successMsg) {
            successmsg("success",successMsg);
        }
    })

</script>
</body>
</html>